package main

import "fmt"

func main() {
	//base
	for i:=0;i<10;i++{
		fmt.Println(i)
	}

	//second
	n:=0
	for ;n<10;n++{
		fmt.Println(n)
	}

	//three
	j:=0
	for;;j++{
		if j>20{
			break
		}
		fmt.Println(j)
	}

	//four
	for ; ; {
		if i>40{
			break
		}
		j++
		fmt.Println(k)
	}

	var l int
	for l <=10{
		fmt.Println(l)
	}
}


func traverseString(){
	str:="123ABCabc一二三"
	for i,value:=range str{
		fmt.Printf("第%d的字符是：%d",i,value)
	}
}




